home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- #
- # The text of this plugin is (C) Red Hat Inc.
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(12423);
- script_version ("$Revision: 1.3 $");
- script_cve_id("CAN-2003-0773", "CAN-2003-0774", "CAN-2003-0775", "CAN-2003-0776", "CAN-2003-0777", "CAN-2003-0778");
-
- name["english"] = "RHSA-2003-285: sane";
-
- script_name(english:name["english"]);
-
- desc["english"] = '
-
- Updated SANE packages that resolve a number of vulnerabilities with the
- saned daemon are now available.
-
- SANE is a package for using document scanners.
-
- Sane includes a daemon program (called saned) that enables a single machine
- connected to a scanner to be used remotely. This program contains several
- vulnerabilities.
-
- NOTE: Although the SANE packages include this program, it is not used by
- default under Red Hat Enterprise Linux.
-
- The IP address of the remote host is only checked after the first
- communication occurs, causing saned.conf restrictions to be ineffective for
- the first communication. The Common Vulnerabilities and Exposures project
- (cve.mitre.org) has assigned the name CAN-2003-0773 to this issue.
-
- A connection that is dropped early causes one of several problems. The
- Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
- the names CAN-2003-0774, CAN-2003-0775, and CAN-2003-0777 to these issues.
-
- Lack of error checking can cause various other unfavorable consequences.
- The Common Vulnerabilities and Exposures project (cve.mitre.org) has
- assigned the names CAN-2003-0776 and CAN-2003-0778 to these issues.
-
- Users of SANE (particularly those that use saned for remote scanner access)
- should upgrade to these errata packages, which contain a backported
- security patch to resolve these issues.
-
-
-
-
- Solution : http://rhn.redhat.com/errata/RHSA-2003-285.html
- Risk factor : High';
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the sane packages";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Red Hat Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
-
- script_require_keys("Host/RedHat/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"sane-backends-1.0.5-4.3", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"sane-backends-devel-1.0.5-4.3", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
-
- if ( rpm_exists(rpm:"sane-", release:"RHEL2.1") )
- {
- set_kb_item(name:"CAN-2003-0773", value:TRUE);
- set_kb_item(name:"CAN-2003-0774", value:TRUE);
- set_kb_item(name:"CAN-2003-0775", value:TRUE);
- set_kb_item(name:"CAN-2003-0776", value:TRUE);
- set_kb_item(name:"CAN-2003-0777", value:TRUE);
- set_kb_item(name:"CAN-2003-0778", value:TRUE);
- }
-
- set_kb_item(name:"RHSA-2003-285", value:TRUE);
-